package com.itheima.stock.pojo.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户信息
 */
@ApiModel(description = "用户信息")
@Data
public class EditUserDomain {
    @ApiModelProperty(value = "用户ID", position = 1)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;                //用户ID
    @ApiModelProperty(value = "用户名称", position = 2)
    private String username;        //用户名称
    @ApiModelProperty(value = "手机号", position = 3)
    private String phone;           //手机号
    @ApiModelProperty(value = "昵称", position = 4)
    private String nickName;        //昵称
    @ApiModelProperty(value = "真实名称", position = 5)
    private String realName;        //真实名称
    @ApiModelProperty(value = "性别", position = 6)
    private Integer sex;              //性别
    @ApiModelProperty(value = "状态", position = 7)
    private Integer status;           //状态
    @ApiModelProperty(value = "邮件", position = 8)
    private String email;           //邮件
    @ApiModelProperty(value = "注册位置", position = 9)
    private Integer createWhere;
}
